/**
 * 
 */
package feedme.bean;

import java.util.Date;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;

import org.bson.BSONObject;

import com.mongodb.DBObject;

/**
 * @author kinzhang
 *
 */
public class OrderBean implements DBObject{
    
  


    private Date createTime;
    private FoodServerBean foodServer;
    private Set<OrderFood> orderFoods = new HashSet<OrderFood>();

    /**
     * 
     */
    public OrderBean() {
        setCreateTime(new Date());
        setFoodServer(new FoodServerBean());
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public FoodServerBean getFoodServer() {
        return foodServer;
    }

    public void setFoodServer(FoodServerBean foodServer) {
        this.foodServer = foodServer;
    }

    public Set<OrderFood> getOrderFoods() {
        return orderFoods;
    }

    public void setOrderFoods(Set<OrderFood> orderFoods) {
        this.orderFoods = orderFoods;
    }

    @Override
    public Object put(String key, Object v) {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public void putAll(BSONObject o) {
        // TODO Auto-generated method stub
        
    }

    @Override
    public void putAll(Map m) {
        // TODO Auto-generated method stub
        
    }

    @Override
    public Object get(String key) {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public Map toMap() {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public Object removeField(String key) {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    @Deprecated
    public boolean containsKey(String s) {
        // TODO Auto-generated method stub
        return false;
    }

    @Override
    public boolean containsField(String s) {
        // TODO Auto-generated method stub
        return false;
    }

    @Override
    public Set<String> keySet() {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public void markAsPartialObject() {
        // TODO Auto-generated method stub
        
    }

    @Override
    public boolean isPartialObject() {
        // TODO Auto-generated method stub
        return false;
    }


}
